<div data-tab-panel-<?php echo isset($type) ? $type :'1';?> class="am-tab-panel am-active">
    <ul>
    <?php if( count($destination) > 0):?>
       <?php foreach ($destination as $key=>$val):?>
         <li><a href="<?php echo site_url('line/account/view').'?address='.$key.'&line_travel_type='.$type ?>" onclick="return false"><?php echo $key;?></a></li>
       <?php endforeach;?>
    <?php else:?>
         <li><a onclick="return false" href="javascript:void(0);"><?php echo '暂无内容';?></a></li>
    <?php endif;?>
    </ul>
</div>